package engine.social
{
	import flash.events.*;
	
	public class RxSocialEvent extends Event
	{
		public var socialId:String;
		public static const FRIENDS_LOADED:String = "friendsLoaded";
		public static const FRIEND_ADDED_TO_PARTY:String = "friendAddedToParty";
		public static const FRIEND_REMOVED_FROM_PARTY:String = "friendRemovedToParty";
		public static const SENT_INVITE:String = "sentInvite";
		public static const RECEIVED_INVITE:String = "gotInvite";
		
		public function RxSocialEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:String = null)
		{
			super(param1, param2, param3);
			this.socialId = param4;
		}
		
		override public function clone() : Event
		{
			return new RxSocialEvent(type, bubbles, cancelable, this.socialId);
		}
	}
}